package com.tourManagement.service;

import com.tourManagement.entity.Route;

import java.sql.SQLException;
import java.util.List;

public interface RouteService {
    //查询得到全部路线
    public List<Route> getAllRoute() throws SQLException;
    //插入路线信息
    public int insertRoute(Route routeInfo) throws SQLException;
    //删除路线信息
    public int deleteRoute(int routeId) throws SQLException;
    //更新路线信息
    public int updateRoute(Route routeInfo) throws SQLException;
    //根据不同的条件查询路线信息
    public int getRouteBy(Route route) throws SQLException;
}
